package com.recource.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.recource.constant.StaticConstant;
import com.recource.type.jiuyeType;
import lombok.Data;
import lombok.Value;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yujie
 * @createTime 2023/3/6 19:22
 * @description 就业
 */
@Data
@TableName(value = "t_jiuye")
public class jiuye {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String school;

    private String city;
    private String xuewei;

    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM")
    @TableField(value = "begintime")
    private Date begintime;

    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM")
    @TableField(value = "endtime")
    private Date endtime;


    //-------------

    private String company;

    private String position;

    private BigDecimal salary;


    private int type;

    private Integer uid;

    // 0 可见  1不可见
    private int flag;

    private Date date;

    private String dcId;

    @TableField(exist = false)
    private diaocha diaocha;

}
